<link rel="stylesheet" type="text/css" href="{$js_css_path}/html/js/bgstretcher.css" />

<script type="text/javascript" src="{$js_css_path}/html/js/bgstretcher.js"></script>

<script type="text/javascript">
	$(document).ready(function(){	
        //  Initialize Backgound Stretcher	   
		$('.login-b').bgStretcher({
			images: [{$data}],			
			slideDirection: 'N',
			slideShowSpeed: {$s},
			transitionEffect: 'fade',
			sequenceMode: 'normal',
			buttonPrev: '#prev',
			buttonNext: '#next',
			pagination: '#nav',
			anchoring: 'left center',
			anchoringImg: 'left center'
		});
		
	});
</script>